Deprecation hotfix

Removed the duplicated key that caused the crash
Also changed the very very wrong gte to lte