Fixed alloting apartments. Need to check later that updating the lease term works properly.