Fixes java.lang.NumberFormatException: For input string: "" on Sequence