fix nested grid record deletion