Could be many reasons the swarms do not like your hives. If you dump bees in a box, they will go through the same process of deciding to stay or not. A frame of honey and brood help, as well as moving them as iddee has stated. So if by chance you boxed them right before they were going to leave anyways, they now lost their new selected location.
10 things to consider for swarm trap success
* prefer a swarm trap (colony location) about 8 to 15 feet off the ground.
* will disregard a trap with light coming in from above.
* prefer a trap equivalent to a cavity size slightly larger than a deep brood
* will select sites in the afternoon shade. They may abandon a site within a
few days if in full sun and heat is an issue.
* prefer bait hives with entrances facing south.
* prefer a entrance towards the bottom of the cavity.
* prefer a unobstructed flight path from the entrance.
* will not take up residence in a bait hive that has other insects in them.
Keep them free of wasps, yellow jackets, etc.
* prefer a bait hive that is dry.
* prefer a previously used site that has a honey bee smell of old comb, or
one that has baited with bee scent.