Fixes buggy assert in __claim_fd()