Update AND/OR when remove first element