XWIKI-11000: Filtering by a long type property field you will have an error
- Properly implemented for all NumberClass types

(cherry picked from commit 6c7b17d6b89f4bb45e3f346d8259bab38c9d0ecb)