Replaced loop on OR by IN