Fix collection proxy exists? regression

This fixes #14116

review @jonleighton @tenderlove @dhh