Hi everyone :) indeed there is a bug in the case where the MaxNumberOfFiles is not defined. We'll fix it in the next update.
For now the solution proposed byPaul Zielke seems to be a good workarround.
I'll post here when the update has been published.