Minor fixes.

This fixes a missing `format_string` and allows the `!=` operator as well.