Created isNaN conditional for validation of 'daySpan'