Fixed some issues with value limits in profiles.