fix unfiltered subject in work package helper

fix for: https://www.openproject.org/issues/2521