Improve error location when record wildcards are turned off. Fixes #10.