added condition to ignore refreshes of endpoints not included in watched endpoints