Fixing initial search: checked/unchecked repository checkbox during initial search