mod_lastactivity: fix possible traceback.