fix bug with adding a folder twice to the folder update queue