Fixing bug when an entry has two sub entries due to path capitalization.