Properly fixed DDC-1858. Added support for ResultVariable in NullComparisons while using HavingClause.
Updated documentation.
Removed ticket that was breaking the build. DDC-2524 is a circular dependency that is impossible to be fixed with our current codebase.