Fixed Min\Max NoData bug.

Closes #398