Make the healthcheck actually query the db