Changed Query() to select limited values due to DB size