Fixed issues adding root folders

Fixed: Error after adding new path when adding a new series
Fixed: Can now add multiple paths without refreshing the page