Fixed query function, now casting won't create impossible query conditions; reset returns to empty fields
0.1.8