Fixed issue in Loop element

Hidden blocks were shown when EDIT mode was set to ON (e.g. via URL query) even if user had no edit permissions (no authentication)