Fixed #320: Wrong type of Hash with Function value