Fix the database error resetting members options - thanks kucing for reporting

Signed-off-by: emanuele <emanuele45@gmail.com>