Issue #2773021 by andrew.lieffring, AdamPS: Query altering fails when table alias "users_roles" is in use