Fix use of removed hashtree:compare/3