Prevent crashing when the user runs a custom query against a table that doesn't exist