Throw sensible errors on invalid collection names