Fix bug in MVPKM.