added option to invert filtering of sequences