Only filter legend if matches substring is longer than three letters.