Fixed case statement in user_progress