Fixes API filter issue.