Fixed a bug with auto checkouts.