Error Search/Filter using calculated fields in browse maintenance is not properly working.

I have created a calculated field (date) and supply its value with a function. Now, when I want to search using date range, it's not working and it only showed the last data within the date range. I've observed that search/filter using calculated fields is not properly working. Why and do you have any solution for that? Thanks.