Corrected a nil class error in playlist autocomplete