minor updates to ALERT code to improve handling of years that don't hit the threshold and un-rounded quantiles