Fixing sector counting bug...