Fixed write calling verify_consistency without cb.
Applied eranmes comments.