Changed primaryKey handling in One relation inflation

Signed-off-by: Tom Wright <tom@inflatablecookie.com>