Fixed errors raised to be compatible with NumPy
Fixed issue with getting values from single-value lazy datasets in
Jython and Python