When Do Individuals Maximize Their Inclusive Fitness?