change targetSalary filter to return undefined when given an empty object