fixes bug where logrepository checks procedures names when checking equal