Update Input.php

Add expected input filter.