Fixed an error occurring if doing a "PageFinder::getQuery" after login a user without defined language field.