Put some fake eggs or golf balls in the nests.
Take them out of the nests at night after dark and put them on the roosts...or block the nests off just before dusk then uncover early morning.
I had to go out just at dusk when they go to roost and push them out of the nests, took awhile but they got the message. I still go out at dusk to close the pop door and make sure everyone's where they belong. Every once in a while one thinks she's going to roost in a nest, just my going in reminds her to get on the roost or she'll get a poke in the butt....lol.
Make sure the roosts are big enough to be comfortable, 2x4 wide side up works very well., and that they can reach them easily.
Might take a week or two to get them to form new habits, be calm and consistent.