Use item equals method

https://github.com/Sylius/Sylius/pull/1098#discussion_r9984129