compund unique index validation works on machine edit page as well