Fix math filters