#379 fix equality checks
Merge remote-tracking branch 'origin/next' into next