Add check for blank urls