fixed end_gYear glitch in PHP script; tweaked RDF output so that otherRecordId appears when the object is not cancelled