Prevent remove an element if it doesn't exist