Fix bug with null inverses in EG adapter.