Bug Fix

Made sure to check all indices to see if a word is in the array before
trying to save it.