Improve error reporting for lmap#at.