Fixes persistent tab malfunctioning when there were no parameters in the URL.