Fix hit count loggin.