Fix bug in get_closestPost() function