Query form adapted to redmine 2.4