Reverted using to using bone index so that vertex weights is show right.
Also deform works again.