bugfix filter find_by_ids