Made docs with undefined  property to be set as active. Docs are no longer reloaded twice on startup.