fixed querying

query fixed so that the apns can be updated at different times and it
still works

also switch statements in findbusyess were wrong...changed them to if
chain