Fixed EZP-18195: $result.object is not correctly created (part 2)
Merge pull request #628 from patrickallaert/EZP-18195

Fixed EZP-18195: $result.object is not correctly created (part 2)