Added range search and also fixed bug related to below set in save
method -
 nest.cat("all").sadd(String.valueOf(JOhmUtils.getId(model)));

 This needs to be added only one time and should not be part of for
loop.