Handle `$_GET['auto_item']` when rebuilding URLs (also see e225fce79952faf9a09bb37e504941cea9b3aa00)