Custom report slow performance in Clarity due to issue with SQL Queries