Fixed issue with anonymous users