Fix/global version filter

https://www.openproject.org/work_packages/9045
Use the new Ruby 1.9 hash syntax.