Added check to ensure misseds is valid range