[TASK] Compact logic of ResolveUtility::resolveCurrentPageRecord