mes: Fix assq to improve performance.