Made a small change to fix a null ptr exception

THere is also a bug stemming from v3.0 where if five customers are in
the list, and you set them all to hungry, the fifth customer will not be
served.