bugfix - convert back to set after filtering