Force object dtype to avoid unwanted iteration.