Refactor of tags queries using djorm-pgarray queries