LPIS: fix silly bug in similar ways pairing