Fixing bug with registering multiple versions in a single group.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>