If you used your own datatype in SelectItem, make sure you have written the equals correctly.
SelectItem