Correct get_last_post() to spare a DB request
Merge pull request #1034 from vhf/lastpost-optimisation

Correct get_last_post() to spare a DB request