Fixed assets_dirty? to use the preconfigured 'from' variable.

Fixed a bug where the assets_dirty? method was not using the 'from' variable as defined in the lines above.