Fixed bug in proposals controller