Bug Fix

HSRCapacity array index bug fix