Fixed set to array conversion in reducer.