Fixed bug in rmg_det_to_db.

If unable to resolve the site or tx ID when inserting rows
into the DB, emit a warning and try the rest of the rows.
Previously, catching the exception short-circuited the
for-loop and didn't try to insert the rest of the table.