follow-up to r7352
add Vec::Contains for increased readability
fix typo in r7357