Fixed bug in recursive extension scanner caused by the previous fix to the extension scanner