Fix checks for missing INTO clause