Guest role check fix