Add a little protection regarding slugs. If it's empty, the link still needs something to point to. Replace weird characters with '-' so they will also be able to access those pages named stuff like '?' (though hopefully people don't do that...)