Costs shall not be allowed against the board of adjustment unless it appears to the court that it acted with gross negligence, in bad faith or with malice in making the decision appealed from.