bug fix when retrieving parse object inherited from another entity