Master fix similarity

Jenkins is happy so far: https://jenkins.invenio-software.org/job/invenio-master-ondemand/450/testReport/