(1.5) In making a determination under this Section, the court shall also consider whether, based on health, safety, and the best interests of the minor,
(a) appropriate services aimed at family preservation and family reunification have been unsuccessful in rectifying the conditions that have led to a finding of unfitness or inability to care for, protect, train, or discipline the minor, or
(b) no family preservation or family reunification services would be appropriate, and if the petition or amended petition contained an allegation that the parent is an unfit person as defined in subdivision (D) of Section 1 of the Adoption Act, and the order of adjudication recites that parental unfitness was established by clear and convincing evidence, the court shall, when appropriate and in the best interest of the minor, enter an order terminating parental rights and appointing a guardian with power to consent to adoption in accordance with Section 2-29.
When making a placement, the court, wherever possible, shall require the Department of Children and Family Services to select a person holding the same religious belief as that of the minor or a private agency controlled by persons of like religious faith of the minor and shall require the Department to otherwise comply with Section 7 of the Children and Family Services Act in placing the child. In addition, whenever alternative plans for placement are available, the court shall ascertain and consider, to the extent appropriate in the particular case, the views and preferences of the minor.