Evan tweaked the type comparison to handle the case of an empty list. Not sure why this was failing in the first place.