Fixed error where it would crash on no words detected