Hi Cais,
I removed that filter you specified.
Also, the strip_shortcodes() wrapper wasn’t being used initially, that is when I noticed the problem. As the theme was custom-made by a third party, I will have to look into this further.
Thank you for your help.