Fix bug 2789, tables need to be arrays in math mode