Removing empty restrictions from the profile