Fixed hash issue in has_audit