Check whether the security group id is integer

Fixed Bug 1206847.

Change-Id: I2194d6538a5c5475b876ee026b5d625be2df076f
Merge "Check whether the security group id is integer"