Fix API results filtering