Recalculate the palette condition when deriving from default palette.

Otherwise we will end up with multiple default palettes rendering DCG useless as it will always have more than one matching palette.