If ap is factory defaulted, the controller values are meaningless. The ap will go to auto channel selection since the config is cleared and push this information to the controller. Channel settings are saved on the ap. The last configured channel “command” saved on the controller is only for reference or saved if the ap was offline when the command was set. The only way to fix a situation where aps have gone off their static channel plan would be to either set them manually, or run a script that puts them back.