Small refactor on logon source field