Fix for training when pet is not present.