Add check to ensure misseds in valid range and fix stats