Add local[1] to the filter condition