Fix/1pnc for different phase idx See merge request !1102
mentioned in commit a12bcd85
mentioned in commit 3889af77
mentioned in commit d07be64b
mentioned in commit b5925aaa
mentioned in commit 74549437