Fixes #391

Sweet, sweet type coercion strikes again.