Fix immutable querydict error