Fix issue where autoInitSingletons is ignored when defaultToSingleton was true and singleton option is ommitted