Application throws StackOverflowException when the BulkDelete Action is selected. It will probably do the same for the FetchXmlToQueryExpression Function because it also uses the QueryExpression ComplexType.
There is something about the recursive checking for dependent types which is causing this to fail.
The QueryExpression ComplexType was added with Dynamics 365 version 8.2.