db_column_table_primary fix

The query in this proc would return unwanted results such that a table would be returned even though the given column was not a primary key within that table. The updated query ensures that only a table where the given column is a primary key will be returned.
Agreed. Updated and tested - working as it should.