[DF-3540] Used constant instead of magic number. Added assert to getter