Fixed some SQL that was causing the patch candidates to not be in the proper order - should not be sorting by Position at all when looking at devices not in the same cabinet as the target.

Fixed #501