alphagov/spotlight — pull request #670 by lennym (2014-07-15 15:26:07+00:00)
Title: Prevent line-set from selecting a line if model has no values

https://www.pivotaltracker.com/s/projects/911874/stories/75030506

If all lines have null values for the closest model then all the lines should be deselected, rather than selecting an arbitrary line as before

Added some extra testing rigour around the methods that do this as well