Add filtering by input type