modified validation to handle compound unique indexes
test to show that compound unique indexes are now supported