Patch AST to prevent crashing of analysis. So we still get measures in s...

This is optional, or we patch the AST well enough that skips non parsable source or we remote completly.

I will make a new pull request to remove AST