I thought the worker bees were undeveloped females, genetically?
True. A female queen develops when the worker bees give the larva of a female, Royal Jelly to develop her into a queen.