Empty string is a nonvalid literal value for the PostgreSQL boolean type. Fixed