Fix bug in parser with postfix and truncated direction values