fix identity_map primary key checking
fix identity_map primary key checking

t-morgan/sequel,nicohvi/sequel,chef/sequel,mpalmer/sequel,yazshel/sequel,davidbegin/sequel,uhoh-itsmaciek/sequel,reubano/sequel,nicohvi/sequel,offshore-safety/sequel,reubano/sequel,freshpay/sequel,dennis-d/custom_sequel,nju520/sequel,offshore-safety/sequel,knut2/sequel,bigfix/sequel,dennis-d/custom_sequel,gferguson-gd/sequel,seeARMS/sequel,yazshel/sequel,seeARMS/sequel,gferguson-gd/sequel,beni55/sequel,Marketcircle/sequel,offshore-safety/sequel,pfarrell/sequel,davidbegin/sequel,knut2/sequel,pfarrell/sequel,uhoh-itsmaciek/sequel,beni55/sequel,nju520/sequel,t-morgan/sequel,freshpay/sequel,mpalmer/sequel