Addresses a situation I ran across where availableStreamIds was undefine...

...d when length called. Follows pattern of adding the empty array from getStreamId