Bugfix introduced by switch from queryset to array. Maybe in future it's safer to use proposal_list|length instead of proposal_list.count in the future.