Revert "can still build index if no items are in collection"

This reverts commit cac94e8d80c7285a200dba413f4c6a1bb6bf1816.