Fix crash in matrixedit and help contextual lookup editors a lot