Created two small helper methods for re-used functionality
Updated some comments
Create method IsKeyIdentical()
Made cast implicit