Made both input and output signs use same methods to filter items.