Wrong event returned if newness = true
CS fix
Fix code style
Merge pull request #797 from roadster31/fix-cart-update

Wrong cartItem returned in event if newness is true