Adds date range support to related posts query

Adds a filterable date range to Related Posts, to prevent overly stale
content from being returned.