fixes calculations of availability window for static mpds