@amitRosenberg please check if(is_null(reset($values))) instead.