Fixed bug in logging clickthrough data