20141120 - Fixed counter offset issues in primary scope function