Rescue InvalidWordCount error