fixed a couple of things relating to constraint checking for DD entries