Is it possible for reviewsOfOccurrence to be an empty list, if only this expert has reviewed this occurrence? If so what does avg return? If it returns null then this will fail at the (double) cast.