Corrected nbt check in pregnant entities.