Fix #462

Fixes #462.