Fixed issue introduced by #300.