Refs #9196. Making helper for special value checking and using it.
Merge branch 'feature/9196_filter_infs_vtkfactories' into develop