Fixed issue with higher ranks X axis labels not being applied to the last label. Closes #1760. Related to #1649.