Emit signal for selection change instead of the one for query change if the selection has changed