Fix mongdb selector query