Repaired a query param problem from Core::getView().

I removed the query param from the end.