Ensure labels are set correctly.