Fix product searching issue caused by null Context