Omit calling markObject on the repository if same object is selected

again.