Whoops! Forgot to update the table name in one of the queries!