Fix valid_capture bug.