Fix a problem with Numpy types

Refs #7860