Improve type list type checking
Fix issue with parsing advanced ternary object statements