Fix hours remaining on contract detail view.

Ticket: #585
Branch: feature/585-track-contract-hour-extensions