Fixed stupid error in Sum in Loop