Parsing query params to integer.