Call #to_liquid in "first" filter

Attempt to fix https://github.com/Shopify/liquid/issues/227.

@arthurnn @alexcoco / cc @dylanahsmith