Mysql Boolean Data Type Conversion Error Occurred