500 error for company advanced search with sic_codes param

I’m getting a 500 error when calling /advanced-search/companies with the sic_codes query param. If I remove the query param it works.