Fix vertex filter when some processes don't get any vertices