Fixed a major in catalogue that protocol might be duplicated twice with some queries

...some queries