Totally user error.

A few lines avoids the exception entirely.