fixed: revision does not show in user contribs if rev_parent_id is null (default value), but works with 0.

Change-Id: Iedca3b3c3d029cc8d6ebfe73f782b6bcdc7255b3