title: Tax_Query not working with WP_Query
body: <p>I've been tearing my hair out a little trying to get tax_query working in my WP_Query. The code is as follows:</p>
  
  <pre><code>$nextSundayTalkArgs = array(  
          'post_type' =&gt; 'talk',  
      'posts_per_page' =&gt; 1,  
      'tax_query' =&gt; array(  
          array(  
              'taxonomy' =&gt; 'talk-type',  
              'field' =&gt; 'slug',  
              'terms' =&gt; 'sunday-talk'  
          )  
      )  
  );  
  $nextSundayTalkQuery = new WP_Query( $nextSundayTalkArgs );
  </code></pre>
  
  <p>There are definitely posts with the post type of "talk" - if I remove the tax_query part, the correct posts display just fine. There are 5 talks with the correct taxonomy term of "sunday-talk" (and it doesn't work if I try to use IDs instead of slugs, either).</p>
  
  <p>Bizarrely, if I change the post type to "post" and the taxonomy to "category", and leave out the "field" and "terms" part, it comes back with my only post to have no terms on it at all.</p>
  
  <p>Any help greatly appreciated, before I go insane.</p>