Fixed a subtle bug caused by getRegisterValue() being called redundantly (twice).
This may have been in the library to fix early buggy versions of the Arduino wire library.