Fix for #180 (bug in commit dd180dd88739eb7dd71a6431b2651a18a36599d3)