Fixed a bug with exists()

A bug could cause it to loop infinitely on certain media websites.