fixed changePayPeriodFunction

was passing the list instead of a string