improvement: improve search of mongo document if sort is not required
fix: catch an exception which is raised when perfdata2 doesn't exist in perfdata2_bin collections but exist in perfdata2 collection