Fix bug in pretty printer

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
Fix bug in pretty printer