Fix cache key to not change when adding a non-embedded association.