@timgraham 

I have implemented the following in the PR:
```
if f.db_column is None and allowed_len is not None
```
Only if the above is true will the test be performed. So now if db_column is not None then we are not performing this test unnecessarily.