Fixed a problem with calculating rental costs.