attachment ordering may fail with a warning

If a real estate contains multiple attachments and at least one PDF document, the attachment ordering will fail with the following warning message:

ERROR_COMMON_REQUEST_CONFLICT / The Operation for your request causes a conflict. [MSSAGE: The attechment ids list has 28 but should have 29 entries)]

To fix that problem, attached PDF documents should also be considered when attachments are ordered.