HR-378 Modification in query to add open end date of job