Fix for missing pkey's when using concrete inheritence and explicitly defining the pkeys in derived tables.