Fix a potential bug due to incomplete implentation of skipping extent checks.