Fix a bug of getVersionSeries() when no versionSeries exist

In particular, getObject(versionSeriesId), this is a work-around for Liferay, is apt to cause this bug after the content is completely deleted.