Fixing bug in healpix map handling when adding noise