Update Model.php

Modified else if condition to check if all columns are in guarded list instead if checking if a single column in list