More SQL statements. More NULL checks in tagdb and file_cabinet