Mysql where field=0 strange behaviour