Fixes #8140: Memory and CPU set are strings