Tweaked Slice deduping.

Added a test too.
A little bit of cleaning up
Merge pull request #6042 from guardian/facia-cards-2.0

Tweaked Slice deduping.