[#5024] add a hint and limit to last_post query
3 files changed