[BUGFIX] DBAL: Properly compile CAST statement after OR condition