Bugfix for readonly total_hours