Quickfix to prevent triggering from query