JOM-2502: advance search 1064 DB error for checkbox field