 			// load user groups
 			_userGroups.removeAll();
 			
-			if(!userRestrictionEnzymes || (userRestrictionEnzymes && userRestrictionEnzymes.activeEnzymeNames == null && userRestrictionEnzymes.groups == null)) {
+			if(!userRestrictionEnzymes || (userRestrictionEnzymes && (userRestrictionEnzymes.activeEnzymeNames == null || userRestrictionEnzymes.groups == null))) {
 				return;
 			}
 			

				}
			}
			
			// load user active group
			_activeGroup.removeAll();
			

	import org.jbei.registry.models.UserRestrictionEnzymeGroup;
	import org.jbei.registry.models.UserRestrictionEnzymes;
	
    /**
     * @author Zinovii Dmytriv
     */
	public final class RestrictionEnzymeGroupManager
	{
        private static var _instance:RestrictionEnzymeGroupManager = new RestrictionEnzymeGroupManager();
