Don't use cursor for expanded device

If cursor is used, device data would have to kept in a separate part of
a tree. At the moment all devices are stored in properties, and we fetch
a specific one by filtering it out.