Fixed a bug introduced with a change to the way data comes out of db_connection.php