Filter bad ids away