fix the last "next record ID" missing in the Get SDR response

In current implementation, the last SDRs are for FRUIDs (Type 10h).
After fixing this issue, we can list all FRUIDs by the command,
"ipmitool fru print".

Change-Id: I8ca22bea9a20128f268cf23bf6c92b352e901d67
Signed-off-by: Cosmo Chou <cosmo.chou@quantatw.com>
diff --git a/src/storagecommands.cpp b/src/storagecommands.cpp
index 022e377..532549a 100644
--- a/src/storagecommands.cpp
+++ b/src/storagecommands.cpp
@@ -623,7 +623,7 @@
         return IPMI_CC_INVALID_FIELD_REQUEST;
     }
 
-    uint16_t nextRecord = lastRecord > static_cast<size_t>(req->recordID + 1)
+    uint16_t nextRecord = lastRecord >= static_cast<size_t>(req->recordID + 1)
                               ? req->recordID + 1
                               : 0XFFFF;