Accounting for zero being a valid group

Signed-off-by: ziycon <ziycon.eire@gmail.com>
#285
Change to allow zero as a valid group, change as per spuds commit on https://github.com/elkarte/Elkarte/issues/248.