Fix a small bug in the pretty printer