Fixed PHP-1059: updatedExisting always true

The updatedExisting field should always be set - but only when upserted is not set and n > 1 it is true