Stop build error from happening when filter is empty