Added check to getvaluesthroughtime process in order to not return null values -9999