Only show a lock reserved by a user if the reservation is active

The lock was still being displayed as reserved even after a reservation got canceled.