Commit before querying on phases