Changes in db. Added morphisms. Now nondb words aren't removed