fix alert repetition

alert_ts was not being converted to int so concatenating
it with alert_repeat_frequency was creating a string