Reject nil value from URL query