Fix so only ram locations with flash counterparts are actually checked to be "dirty"