Fix SQL typos after RBAC commits