Avoid integer and float values false pass 'inList' validation