Check for nil doc in proper place
Check for nil doc in proper place

lexmag/elixir,kelvinst/elixir,ggcampinho/elixir,lexmag/elixir,kimshrier/elixir,antipax/elixir,ggcampinho/elixir,joshprice/elixir,elixir-lang/elixir,beedub/elixir,kimshrier/elixir,pedrosnk/elixir,gfvcastro/elixir,kelvinst/elixir,pedrosnk/elixir,antipax/elixir,michalmuskala/elixir,beedub/elixir,gfvcastro/elixir