Fix inventory audit bug.