Fix bug when parsing backup folders.