SSLR-287 Fix creation of leaf nodes of parse tree