Metric variation of higher order theory of gravity requires fixing of the Ricci scalar in addition to the metric tensor at the boundary. Fixing Ricci scalar at the boundary implies that the classical solutions are fixed once and forever to the de Sitter or antide Sitter (dS/AdS) solutions. Here, we justify such requirement from the standpoint of Noether symmetry.