Fixed recent posts query in sidebar