Properly check if the same block is being updated.

IDE should've caught this one :(