Fix autoloading bug where a value may be initialised but not autoloaded yet.