Default to current URI if no referer found