fix soft delete check on GetElement