Fix NPE when calling find without any parameters
#4 Fix ES 1.0 handling of method which is different from ES 2.0/3.0