Issue #24449 Fixed search error

Fixed additional error occurring during CustomerType search