Issue #2388: Added if statement to _resetSubControllers

Adding this if prevents forEach from running (and throwing an error) when there are no _subControllers.