Explicitly return null if there aren't any results
- remove second line in create_child_view
- add undefined check in delete_child_view