Added deferred to the transaction entities
Fixed database upgrade issue
Worked on the categories to include the transactions when queried by range