DB fixes, Vote, Where-Feature in JSON(P) Api