Fixed zero in input string considered as empty.