Fixes bug in preparsing