Fix bug in debug builds where service expiration results where messed up.