Fixes a bug introduced by commit acda2687c125f62110bfd20242ab9039f2d062e1
Issue #101: solved for editions