cache is_global and fix logic for creating pidlists when saving