Aren't the constraints on pure insertion/deletion more restrictive than this? E.g.:

```
insertion = variant.getReferenceAllele.length == 1 && variant.getVariantAllele.length > 1
deletion = variant.getReferenceAllele.length >= 1 && variant.getVariantAllele.length == 0
```