Added additional checks

Added checks on ID passed into GetHistory and GetChildThingsByID.