Error checks for duplicate short keys.