Fixed serealizability problem.