[SSSD] [PATCH] Properly detect negative/invalid values for the minId and maxId