Update addServices.php

Updated the logic to be correct.