[graphspell][py] ibdawg: fix bug in select()