Removes check for invalid child types