Updates #30 by ensuring that ternary operators used within variable declarations are not erroneously associated with the previously visited function