Fixed an issue where SQL would look for a table that does not exist.