Fix #99: Contains doesn't work for complex types