corrected inputSelector/filterSelector confusion

use inputSelector option as docs suggest rather than filterSelector as
was implemented in code