Fix vectorisation of recursive types