Fixing Request::hasVariable