server: fix .persisted check