Fixed the parser.

It now properly groups the right expressions together.