Fix "Illegal offset type" error (#1489985)