Fix bug introduced by a1c9224

The a1c9224 commit allowed page editing only when their slug had been
changed!