errbit/errbit — pull request #194 by nashby (2012-06-03 15:39:41+00:00)
Title: fix error when only one app is present

It fixes `ActionView::Template::Error (undefined method `>' for nil:NilClass)`
error. This error was showing when there is only one app was present.
In AppsController when we were trying to sort our apps and if `apps.count == 1`
the sort method actually doesn't call block so we had empty
`@unresolved_counts`, `@problem_counts` assigns.