fix processing of aligns with agent-virt, #25944