serf: Fix bug in BUILDING BOAT that could result in an infinite loop

This also to fixes #76.