Avoiding to send empty q parameters