Fixes compatibility problems with Redmine 2.4