fixed a bug causing the lookup to throw an exception if the reverse lookup fails