Don't return a zero length errors object

This helps when validating a query response