Remove extra queries on apps collection

Using the scope on apps controller will yield lots of queries, so we need to call .to_a

review @shingara