Fixed error if there weren't enough items in category for product page