Correctly parse chapter labels