Fix #3380
Fix a regression from the previous commit
Improve on the fix for #3380
Regressions ... #3380 #3194 ab9217e316a79bc8fab2840c8f5bd2b9bc7a4dc0
Merge branch 'develop' of https://github.com/bcit-ci/CodeIgniter into develop