Fork of redmine_smart_issues_sort to fix some minor issues