[fixed] Now execute willTransition* hooks even if only query part was changed

Previously query change didn't fire hooks. Now does.
Merge pull request #499 from vladimir-vg/will-transition-to-query-fix

[fixed] Now execute willTransition* hooks even if only query part was changed