Child terms with improper parent in the url should redirect to 404

Child terms with improper parent in the url should redirect to 404