Procedural mesh slicer capping inconsistent

When using the procedural mesh slicer there are often times when the objects will not cap and then will appear hollow. Anyone have an idea on how to solve this issues and force it to cap the mesh with a material? It only does this some times.