Processing of Optional values in Elixir