"eptr" and "eind" arrays got confused.
Asking for rank zero doesn't make any sense here.