[nemo-qml-plugin-contacts] Fix out of bounds error when removing item. Fixes JB#7180