Bug#199: Now work correctly the filtering of next/prev on retrieve actions