GTNPORTAL-3539: Do not recover IDM transaction if exception occurs durin...

...g a search