Fixes #2250 Admin Log errors

Fixes errors in the Admin Log that I've reported [here](http://dev.mybb.com/issues/2250). For 1.6