devec_transform comparison fix

This fix allows comparison support in `@devec_transform`.