Two ModelRefs with key == null should be equal

Fixes #19