Fix name cache collision in findprop

Fixes #564.