lvm: Fix two wrong array indexes.