catch invalid uri's when filtering.