fixed bug with more than one edit var
Merge pull request #1 from alanborning/master

fix for bug with more than one edit constraint