Fix bug in getEntryForRegisteredPrefix: properly check size of registeredPrefixTable_.