little fix on hasRels and hasRevs