[WIP] Fix/validates length of min length

Don't merge yet!

https://www.openproject.org/work_packages/14632