Add EOF to template for no search results

This avoids the following issue: http://i.imgur.com/jVJumua.png