Master fix similarity

https://jenkins.invenio-software.org/job/invenio-master-ondemand/450/testReport/