Update class variable only when actually creating a relationship
Silly temporary commit
Different comparison
Real bugfix...