Fix RemoveJob failure

Execution of remove jobs failed when the 'bron' schema contained more than just tables.

This pull requests contains a change that adds an additional where clause to the query that retrieves table names from the database.