CFS.php optimizations
Fix for loop "undefined offset" notice (#160)