Ensure scopes defined on abstract classes use the correct tablename