Fixed some bugs and updated some outputs for jpl2db.py and check_database_completeness.py