Readding currentQuery assignment to deserialize

Without this the query object wasn't updated on an URL change.