don't allow invalid keys in case details' id mapping