Fixed BUY X GET Y promotion issue

Fixed issue when X and Y are same, i.e. in offer 'BUY 2 GET 1 FREE'.