added linq expression to find highest wrapID in db