Added unique on aperature codes.
Updates to reflect new aperature rules.