ToArray this, otherwise the disposal of the dbcontext breaks everything.