1. fix a bug when comparing series with None