Fix missing query args for API request loggign