Update lib/Core.php

Another change.  The reason behind this one is if you explode a service
like /listings, there is only going to be one in the array and it blows
up on the $tagstest[1] test as it won't exist.