debugging missing obsid

added code for debugging a missing obsid returned by the MySQL query