Fixed array reference problem in Kolkata scheme.