fix(select): add support for filters (fixes #366)