fixing minor issue with constant validation in AGREE