Duplicate query bug

I needed to activate debug.log to debug the return of some posts and I came across the duplicate query. No matter the query, two queries are always made, the image shows two times being recorded in the debug in just one query.