Fixed purchase_item_input filter implmentation.
Merge branch 'msigley-patch-purchaseitem_input' into 1.3.x