Prevent query log update on session update