Catch a vdev type correctly (wrong if check).