Fixed Issue causing view_revenue.jsp to fail