LPS-42246 - Briefly unable to remove pages after clicking between two pages multiple times
Revert "LPS-42246 - Briefly unable to remove pages after clicking between two pages multiple times"

This reverts commit 3c5934b0276e8d7c5e6d3bf93719c16749621c52.
LPS-42246 - Source formatting