Added category argument to getAuditForTable