Some IQL bug fixes.