:bug: Minor bugfix in data validation, added test