Don't redirect to the first page that comes along when no id is given

Fixes: #26155
Merge pull request #4 from berndbrot/26155

Don't redirect to the first page that comes along when no id is given