Update mysql2 query call to cast booleans