Troubleshoot issues with the multi-stage query engine (v2)