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

for #2220 
Hard to understand. Too many lower level operations going on without any indication about the intention.