LPS-47286 If there are no sections available we shouldn't display the box to select sections
LPS-47286 Update deprecate method