Cast number as string to validate it with validate_re
Adjust error catching for wrong type in days