Fixed 'overrides nothing' error on contains

because of the type parameter, the `contains` method here was not overriding the contains in `SeqLike`. Removing the override caused a compile error because the methods conflicted after erasure, so I just changed the argument to `Any`. The cast was already there.