shared-volume-instance: fix volume state check