Fix issue in cacheSolve