Fixed #2278. Method getContent can return single object, which will be omitted

More informations in #2278.