Fixed bug in parsing inactive nodes