#938. Fixed add method so that it works if taking in a negative number.(cherry picked from commit 66b909900bfbc7c84d185baa0b29b53091bb87f3)