Template bug fix for no observations