Prevent infinite recursion with mainspace redirects

Fixes #2