Fix infinite loop

The code was calling Equals(MemberRefKey?) which resolved to Equals(object). Therefore, infinite loop.