title: Referring to Grunt targets resulting in Warning: Object true has no method 'indexOf'
body: <p>My Code: </p>
  
  <pre><code>'use strict';
  module.exports = function(grunt) {
  
      // Project configuration.
      grunt.initConfig({
          pkg: grunt.file.readJSON('package.json'),
  
          //Define paths
          js_src_path:    'webapp/js',
          js_build_path:  'webapp/js',
          css_src_path:   'webapp/css',
          css_build_path: 'webapp/css',
          less_src_path:  'webapp/less',
          less_build_path:'webapp/less',
  //Convert Less to CSS and minify if compress = true
          less: {
              development: {
                  options: {
                      path: ['&lt;%= less_src_path %&gt;'],
                  },
                  files: {
                      //'&lt;%= less_build_path %&gt;/app.css':'&lt;%= concat.less.dest %&gt;',
                      //Dynamic expansion 1:1 
                      expand: true,
                      cwd:    '&lt;%= less_src_path %&gt;',
                      dest:   '&lt;%= less_build_path %&gt;',
                      src:    '*.less',
                      ext:    '.less.css'
                  }
              },
              production: {
                  options: {
                      path: ['&lt;%= less_src_path %&gt;'],
                      //compress: true 
                      yuicompress: true
                  },
                  files: {
                      //'&lt;%= less_build_path %&gt;/app.css':'&lt;%= concat.less.dest %&gt;',
                      //Dynamic expansion 1:1 
                      expand: true,
                      cwd:    '&lt;%= less_src_path %&gt;',
                      dest:   '&lt;%= less_build_path %&gt;',
                      src:    '*.less',
                      ext:    '.less.min.css'
                  }
              }
          }
      });
  
      // Load the plugin that provides the tasks.
      grunt.loadNpmTasks('grunt-lib-contrib');
      grunt.loadNpmTasks('grunt-contrib-less');
  
      // Task(s).
      grunt.registerTask('les', ['less']);
      grunt.registerTask('proless', ['less:production']);
      grunt.registerTask('devless', ['less:devevelopment']);
  };
  </code></pre>
  
  <p>Running each of the following:</p>
  
  <pre><code>grunt les
  grunt proless
  grunt devless
  </code></pre>
  
  <p>Results in:</p>
  
  <pre><code>Warning: Object true has no method 'indexOf' Use --force to continue
  </code></pre>
  
  <p>If I remove the task <code>development:{ ... }</code> and <code>production: { .... }</code> and leave the interior and just change my <code>les</code> call to hit <code>less</code> it works fine.</p>