Fixed bug in WCS error message

@mdboom - does this need a regression test? If so, where should it go?