Fixed purchase_item_input filter implementation.

Fixed purchase_item_input filter implementation to keep it inline with the cartitem_input filters.