Fix purchase cost currency validation and format issues.