Fix for ROEncoder ordering.