Fix bug form for the case when there are less than 4 custom fields