Syntax fixes to my_projects_helper

Tested with Ruby 1.9.3p484 and Redmine 2.5.1