Ensuring relevant sub resource query keys are considered for the canonical resource signing