Fixed the nested reduce issue for BC.