fixed bug in Tap.query which caused taps to be re-applied on every run.