Fixed failing karma test in work packages table sorting modal.