Fix a shallow bug.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>