Fix hasOne model glitch