Revert hack in TupleMemoryInputFormat