Bugfix: Error on __repr__ without source file

Without a source file, SkyQuerys were unable to print their representing
strings.
TimeRanges can be compared

This also works during iteration