Sounds like such a mess
It sounds almost unbelievable that you have child at home and a foster child and yet the will not let you have your daughter back.
I sending you lots and lots of positive thoughts, I really hope everything will for it self out and you'll get back soonest <3