ast: Correct bug that caused astRegBaseMesh to fail with Prisms