Added support for math functions to mysql filter.