title: Cakephp 3 Cannot convert value to bool issue
body: <p>I am execute flowing query .</p>
  <pre><code>$query = $busdetails
        -&gt;find('list',['keyField' =&gt; 'id','valueField' =&gt; 'bus_name'])
        -&gt;where(['status'=&gt;1,'is_approved'=&gt;1]); 
  
  pr($query-&gt;toArray());
  </code></pre>
  <p>It works fine if some results found but if no results found then it shows an error Cannot convert value to bool issue. Thanks</p>