Minor bug fixes

1.) Fixed a bug in the AIML upload script that was logging errors about
a missing folder
2.) Fixed a bug in find_aiml.php that was logging errors about a missing
array index