.SingleOrDefault(..) -> .FirstOrDefault(..) fixes #55 and #56 in Linux. (and even the swapping of var => ... was unnecessary)