Locator checks for empty inpts and reacts correctly.