Fixed NPE in ProductSearchResource