Fixed issue with prerequisites failing when using subdirectories in the LP's TOC - refs #6405