Make the timeshift protection code a bit more readable