fixed the bug that when there is no backup jobs available, elasticsearch gives an error because it tries to sort on an empty field