Fixed bug when trying to access to community that is not allowed for current user