Update Client.php

Bug fix.