Fixed some errors I missed in adding commitment UI