diff --git a/registry-persistence/src/main/resources/org/gbif/registry/persistence/mapper/collections/CollectionMapper.xml b/registry-persistence/src/main/resources/org/gbif/registry/persistence/mapper/collections/CollectionMapper.xml
index 23e3a7380..0950775d6 100644
--- a/registry-persistence/src/main/resources/org/gbif/registry/persistence/mapper/collections/CollectionMapper.xml
+++ b/registry-persistence/src/main/resources/org/gbif/registry/persistence/mapper/collections/CollectionMapper.xml
@@ -202,10 +202,10 @@
,query,similarity(c.name, #{params.fuzzyName,jdbcType=VARCHAR}) AS similarity_score
FROM collection c
-
+
) AS c
ORDER BY
@@ -222,10 +222,10 @@