You Can Have android 6 and 7 roms together but not android 5 with with any of 6 or 7... The reason is well known and an old issue.
Lollipop support modem files coming with stock lollipop zip only. It bootloops with mm modem files. And MM or N doesn't support lollipop modem files. So its a deadlock.
If I remember correctly, initial builds of CM13 (nightlies of beginning 1 or 2 month) doesn't require modem files to be updated.
Only we can Just Hope if somebody can patch or whatever do something out of box , to make universal modem files for us.