Fix for issue #32. Check also object from query cache when checking audit_record_objs.