Changed path refiling from specific to max level