Bug with automation editor reduce function

Tested with BeepStreet Zeoon and Yonac Kauldron synths automating the filter cutoff.

When drawing the automation using the pencil tool and then applying reduce it forms normal curves.

When recording automation from the synths UI and then applying reduce the automation turns into a histogram.