For anyone else in the future who has this problem, these functions can be called in the form of max(${int1}, ${int2}, ${int3}), without bothering with joining nodes in the way described in the docs.
Thanks to Grzegorz for the solution - Getting a nodeset of responses, but not from a repeat group - #3 by Grzesiek2010