Fix for STRICT_TRANS_TABLES