Novak Djokovic secured a victory against Aleksandar Kovacevic at the BNP Paribas Open, marking his return to the fourth round at Indian Wells since 2017.