Fixed code in Q/tabs tool and edge case in saving Db_Row objects