Fix error creating a redirect for entries