Fixed bug with null string when converting to Integer in NewQuery Activity