"Expand" should append to a query, not rewrite

Moved from GitHub ratel/26

Posted by paulftw:

paulftw commented :

Implemented in 700e2dc912cb580c8844d5555ec25c252096755d