Fix for labels

Now hides all data labels that are not first or last