Fix a bug in isExploded to check length of the correct object (url not the window)