Fixed sendAcknowledgement

Also sends query Number now.