Handle the case when certain implementations of the Map interface can't handle null