LPS-47461 Fix error when a version is expired