Fix for Redmine 2.6.0

This made Issue #192
https://github.com/hicknhack-software/redmine_time_tracker/issues/192
disappear for me.
I did not test if this will cause issues with Redmine versions lower
2.6.0