Implemented a naive click filter.