active state macro how to check if segment 2 is empty
Not tested, but I think you can test if it is a pagination page. So 

{% if (craft.request.getSegment('2') == '') or (craft.request.getPageNum() != 1) %}active{% endif %}