Removed the hardcoded query length limit and made it a plugin setting.