Fixes array return on findOneBy