Added min/max length validation