Make TrackerModel.get_by_name select subclasses

This fixes an issue where the frontend would call get_by_name
and then get something that it did not know how to deal with.

Credit to John Morrissey for finding this one-line bug and writing
paragraphs and paragraphs about it.

Closes: https://openhatch.org/bugs/issue819