[BUGFIX] findByUid should respect query settings of repository