Fix server bug in conditional appends

Fix #43: Append fails when log is empty.

Was accidentally using has_expected_entry_id() instead of
expected_entry_id(), so the boolean was interpreted as an integer.