Fix for last commit. Weird bug where BOM doesn't get checked if char included in one of the other arrays.