Fixed save/restore of stored queries
Return nodes marked as hidden or deleted as well
Add label for type when importing/syncing nodes