I forgot to account for unresolved elements of the list. Differential Revision: https://reviews.llvm.org/D93814