Fix for latest Elixir version (Enum.first being deprecated)