Fixed logic for current location on blank input