[graphspell] ibdawg: fix bug in select()