Fix for mcf setting duplicate/invalid layers for layers with the same priority as meta-oe