Remove unnecessary checks before calls to ast_strlen_zero. Also, change