Fixed to work with the latest redmine version