Fixed bug in IO completion ports