Fixed a bug on product header query.