Fix switching bugs for staff and unauthorised profiles.