correct working record creation and overwrite logic. tested with test-ki...

correct working record creation and overwrite logic. tested with test-kitchen suite