Fixed bug in recovery with abort