20141116 - Fixed counter offset issues in primary scope function