Fix two queries using the old ban table name.