Fix PHP being harsher about non-array entries.