Fix database table column name in virtual session query