refs #49: Small refactor in primary key change validation