title: Problem with MySQL Select query with "IN" condition
body: <p>I found a weird problem with MySQL select statement having "IN" in where clause:</p>
  
  <p>I am trying this query:</p>
  
  <pre><code>SELECT ads.* 
    FROM advertisement_urls ads 
   WHERE ad_pool_id = 5 
     AND status = 1 
     AND ads.id = 23 
     AND 3 NOT IN (hide_from_publishers) 
  ORDER BY rank desc
  </code></pre>
  
  <p>In above SQL hide_from_publishers is a column of advertisement_urls table, with values as comma separated integers, e.g. 4,2 or 2,7,3 etc.</p>
  
  <p>As a result, if hide_from_publishers contains same above two values, it should return only record for "4,2" but it returns both records</p>
  
  <p>Now, if I change the value of hide_for_columns for second set to 3,2,7 and run the query again, it will return single record which is correct output.</p>
  
  <p>Instead of hide_from_publishers if I use direct values there, i.e. (2,7,3) it does recognize and returns single record.</p>
  
  <p>Any thoughts about this strange problem or am I doing something wrong?</p>