Fixes early ivar assignment bug

Fixes #309