Fixes #3, adds backward compatibility for Redmine < 2.3.3