Storing extra data for one row errors in queryDB function.