Well, I changed my function around, so instead of using "isnull" it's using "" as a comparison. And it works.
We support Ukraine and condemn war. Push Russian government to act against war. Be brave, vocal and show your support to Ukraine. Follow the latest news HERE