Fix idea vote saved to db