Updated mysql filter to understand expressions where the literal value is on the left side.