Fix catch-all and segment root conflict check

closes #3