Fix InexectError on categorical bar plots.