Fix vintages view
Fix db request with postgres
Fix db request in postgres