fix crash on windows an mac

- crash was caused by not checking of entries provided in the flowreadsimple input
file are more than what the configured flow can hold.