Adding recursive, multi-level joins for hasword that seems to work with MySQL >5.65