Make sure the deferred query will be invoked only once

See https://groups.google.com/forum/#!topic/loopbackjs/Ez1cyQ0D0s0