Exception fix

Non-whitelisted syntaxes were throwing exceptions. Fixed.