Fix issue which caused homepage to error when no data was in database.
- Add a check to ensure the array containing recipes for the frontpage is populated before attempting to delete the first one.