Fix issue with rank commands caused by case-sensitivity of track group names.