Fixed Unhandled Exception

Fixed an unhandled exception (regarding web queries) which occurred
after a medium-to-long random period of time.