Fix bug in QueryDirtyModels introduced in d322532.
Fix bug in QueryDirtyModels introduced in d322532.

Closes #183.

peeedge/mobile,eatskolnikov/mobile,masterrr/mobile,eatskolnikov/mobile,masterrr/mobile,ZhangLeiCharles/mobile,ZhangLeiCharles/mobile,peeedge/mobile,eatskolnikov/mobile