Fixes problem when checking for flags of ordered product
Rewrites _createItem() method