Fixing Undefined last_post, line 1147.