Broken delete / broken query method

Delete had not yet received an update for the primary and foreign key
accessors.

When selecting two columns with a shared name, the columns were merged.