Updated first filter to search for leftmost expression