Fixed views and added default amount type on deduction category.