Fixes #7616 - Use validates_lengths_from_database