MAINT: restore the lombscargle fix