Improve filter for test3DLulesh.

based on review by @ronawho