remove broken IF block handling. For now, T-SQL IF statements are not compatible with PG/PSQL