Fixup in the for-loop that deletes old temporary files.
Will now delete all the temporary files that are more than 30 minutes old.