fixed select on nil channel (fixes #110)