Fix minor bugs in backend and recent builds sparklines