fixed bug in the user_completed_survey helper method