Here the end faces are missing. Is it possible to get them there or to generate them at every step?
Select two edges and type F for fill.
Not sure if it will work for you. Image on left has modifier applied and face added. Blender 2.8 on Ubuntu 19.04.