In end date range function catch bad data from indicators without targets or target dates