NS: Fix error printout for midpoint.