Fix for Linq's Single and SingleOrDefault