Don't calculate which donations are active and which are past in client code. Instead do it with the db call.