Corrected logic for handling broken REGISTER.