don't look for primary key on table scope actions

it's not used, and can cause errors