Fixed signed comparison warning in ProfileManager.