maybe-int around max-results in list-versions

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