only do map check if theres a single primary key