Fixes #1936 - Preproc constructor cast fix

Fixes #1936. Tokens can be null when Recognizer uses "guess" mode, which was not accounted for. Now fixed.