Fixes #286. Issue was caused by a typo.