Introduced in version 1.6 (21 February 2020)
This is a known performance issue. If possible replace it with separate simple retrieves and list operations.
For more information check the Mendix best practices for XPath performance or this excellent webinar.
Non-compliant example:
Compliant example: