Fixed bug when no (null) stream options are supplied