Don't attempt to do work on empty input strings.
Remove broken analyze disable/enable logic.