Make sure we have a view before passing on the results

@peter-budo