correctly save m_n_x display type

fixes numbas/Numbas#256