Check fo duplicate/missing keys