This is just defensive programming. I wanted the method to return `nil` instead of an exception if seconds was not a number.