Added a missing "commit" on fragments