Fix bug where last folder on the list wasn't displayed in folder manager