Fix conditional.

- Ensure relative query is used even if is the empty string.