Fixes issue #179 - Subpalettes were also evaluated for legends.