bug fix on deleting not yet saved transactions