Improved reliability and display of custom goals

Fixed issues where custom goals with complex configurations could cause errors or display incorrectly. Custom goals now show their proper names consistently throughout the application, making reports and dashboards easier to read and understand.