maybe-int around max-results in list-versions

This Pull Request add `maybe-int` handling for int args in the new list-versions in the same way as discussed in #24