Important bugfix in Record#equals(Object, boolean, boolean)

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>