Bug #2 fixed: Union operation of a repository change the repository itself