Fixed type mismatch in lookup service