Fixed behaviour of Hash::fetch()