Fallback for projects without start or end date
Fixed invoice amount calculation on projects page

Workaround for strange django behaviour:
https://docs.djangoproject.com/en/1.6/topics/db/aggregation/#interaction-with-default-ordering-or-order-by