KiwiRail admits it had opportunities to avoid the chaos with trains in Wellington this week but missed them.