Fixed error when observations values are null