Perhaps adding to the "Edit Custom Command" dialog box a check box with the option "Reset subfolders cache" would be a solution for this problem and similars one's - see attached.
Thanks for your suggestion.
Will see if more people ask for this.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Perhaps adding to the "Edit Custom Command" dialog box a check box with the option "Reset subfolders cache" would be a solution for this problem and similars one's - see attached.
Set permissions to 0664 and 0775
chmod --recursive u=rwX,g=rwX,o=rX !&