Fix conversion of negative minutes to seconds