Fix Math bug in predb pages.