remove count>=3 condition when considering entries for the palette ( fixes #2068 but breaks almost all visual tests )