Changed map lookup into a case. Case nor cond simply return nil.