Works with broken web query now
The code should now be bombproof