0001275: FIX: When a subfolder is clicked on 'Folder Explorer' it switches to the 'Application' tab

Description

This is due to a decrement that is done on the $tab variable. The fix involves these changes in the file 'cleanup_functions.php' in 'includes'. Two of the changes are cummulative with a previous fix posted by me.