Fixed sampling in GUI tuning curve compatibility code