Fixed a bug where sub reports' datasources weren't being updated.  Fixed copy-paste compile error.