Added proper contruction of cards if there are less or more than the search results.
Added forgotten card jade template