Ideally, contains should take care of this. Can you share your setup here?