Fixed foreseen bug in freadall.