Verify the nether or the end is allowed before processing it. Fixes #189.