Fixed an error causing the userProfile.jsp to incorrectly display changes