Another bloody undefined index issue in the mock client, I need more sleep