Bug fixes in the IOU startup
Signed-off-by: Delian Delchev <delian.delchev@gmail.com>