Fixed bug where one phase commits were not correctly reported and added test case for this