Fixed an issue with children reactivating when deactivated manually.  Need to tidy up the code a bit.