Replaced ToC entry condition test with commented if clause line 724 of main.py