adminActivityLog: crashes if the version number includes a non-number

for #2220 
You can use an explanatory variable instead of a comment.
`boolean isVersionSpecifiedInRequest = (versions != null && !versions.isEmpty());`