Reorder the function body to ensure that Erlang's cover-tool works properly.