Optimizing last comment query for backend a bit hopefully.