Fix issue with the waterfall of the APT decoder