Fixes firing of an unnecessary query changed event.