Fixes has_lookup_values in pubsub