Return duplicated query for mixin methods