Created 2 wrapper classes for the profiles collection and a specific profile. Refactored the view to use those instances of those classes.