Added ref to filter for where tags