Made erroring without child objects work