20141123 - Fixed counter offset issues in primary scope function