Fixed various data access bugs related to audits and comments.