Fix stream id validation synchronization

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
Merge pull request #17 from dmcgowan/stream_id_fix

Fix stream id validation synchronization