Fix parsing exception causing infinite loop

Fixes SMACK-613