api: added otpion to reverse filter in matrix