When putting arguments into a target selector and attempting to execute a command using the target selector, it returns "no entities found", despite that atleast ONE entity is within range
How to reproduce:
1. execute any command with either @e[distance=4] or @p[distance=4] (I used that with /teleport and /clear), either through command block.
2. See the result message appearing despite entities being within range
Use
@e[distance=..4]
if you want to target any entity that is up to 4 blocks away. More information here: https://minecraft.gamepedia.com/Commands#Target_selector_arguments