Minor improvement to ,cd mapping.