Fixed an issue whereby glucose average/deviation values could return as NaN