fixed bug -- only filter if endpoint filter is active