Updated listings process to hide folders step if maxfolders==0