modified AmberQuery sql to speed up query: replaced OR clause with 2 sep...

...arate statements