Fixed flag printing for LIST elements

Sometimes the flags can end up being two digits; the previous code would
chop off the second digit by accident, giving very unexpected results for
the LIST flags.
Merge pull request #166 from trello/fix-ordered-lists

Fixed flag printing for LIST elements