Changed how votes are written so that security rules will work