fix false value validation
Merge pull request #315 from aglarendil/fix_mysql

fix false value validation