Fix an issue in requirement parsing.