GRIM: Make sure that we have a valid chore when setting the type. Fixes #843